import os
from building import *

cwd = GetCurrentDir()

# add general drivers
src = Split('''
CubeMX_Config/Src/stm32l4xx_hal_msp.c
''')
src += Glob('*.c')

path =  [cwd]
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]

CPPDEFINES = ['STM32L475xx']

group = DefineGroup('bsp', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

Return('group')
